import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const processDesign: AppRouteModule = {
  path: '/processDesign',
  name: 'processDesign',
  component: LAYOUT,
  redirect: '/processDesign/TopologyDiagram',
  meta: {
    orderNo: 5,
    icon: 'ion:ios-git-compare',
    title: t('routes.processDesign.processDesign'),
  },
  children: [
    {
      path: 'TopologyDiagram',
      name: 'TopologyDiagram',
      component: () => import('/@/views/processDesign/TopologyDiagram/index.vue'),
      meta: {
        title: t('routes.processDesign.TopologyDiagram'),
      },
    },
  ],
};

export default processDesign;
